﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage.master" AutoEventWireup="true" CodeFile="Ask.aspx.cs" Inherits="admin_Mail_Ask" %>
<%@ MasterType VirtualPath="~/admin/MasterPage.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" Runat="Server">
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>成为发布者
            </h1>
            <ol class="breadcrumb">
                <li><i class="fa fa-dashboard"></i>成为发布者</li>
            </ol>
        </section>
        
        <!-- Main content -->
        <section class="content">

            <div class="row">
                <div class="col-md-3">

                    <!-- Profile Image -->
                    <div class="box box-primary">
                        <div class="box-body box-profile">
                            <img class="profile-user-img img-responsive img-circle" src="<%# Master.ProfileArr[4] %>" alt="User profile picture">
                            
                            <h3 class="profile-username text-center"><%# Master.ProfileArr[1] %></h3>

                            <p class="text-muted text-center"><%# Master.ProfileArr[2] %></p>
                        </div>
                        <!-- /.box-body -->
                    </div>
                    <!-- /.box -->

                    <!-- About Me Box -->
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">About Me</h3>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <strong><i class="fa fa-book margin-r-5"></i>教育</strong>

                            <p class="text-muted">
                                <%# Master.ProfileArr[5] %>
                            </p>

                            <hr>

                            <strong><i class="fa fa-map-marker margin-r-5"></i>地址</strong>

                            <p class="text-muted"><%# Master.ProfileArr[6] %></p>

                            <hr>

                            <strong><i class="fa fa-file-text-o margin-r-5"></i>签名</strong>

                            <p><%# Master.ProfileArr[7] %></p>
                        </div>
                        <!-- /.box-body -->
                    </div>
                    <!-- /.box -->
                </div>
                <!-- /.col -->
                <div class="col-md-9">
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">申请成为Noap.新闻网的新闻发布者</h3>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <div class="form-group">
                                <asp:TextBox ID="TextBox1" runat="server" CssClass="form-control" placeholder="我擅长的领域"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="擅长的领域不可为空" ForeColor="#a94442" ControlToValidate="TextBox1"></asp:RequiredFieldValidator>
                            </div>
                            <div class="form-group">
                                <asp:TextBox ID="TextBox2" runat="server" CssClass="form-control" placeholder="申请理由" TextMode="MultiLine" Rows="3"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="申请理由不可为空" ForeColor="#a94442" ControlToValidate="TextBox2"></asp:RequiredFieldValidator>
                                <br/><asp:Label ID="Label1" runat="server" CssClass="text-success"></asp:Label>
                            </div>
                        </div>
                        <!-- /.box-body -->
                        <div class="box-footer">
                            <div class="pull-right">
                                <asp:Button ID="Button1" runat="server" CssClass="btn btn-primary" Text="提交" OnClick="Create" />
                            </div>
                            <button type="reset" class="btn btn-default"><i class="fa fa-times"></i>清空内容</button>
                        </div>
                        <!-- /.box-footer -->
                    </div>
                    <!-- /.nav-tabs-custom -->
                </div>
                <!-- /.col -->
            </div>
            <!-- /.row -->

        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" Runat="Server">
</asp:Content>

